﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Gx.Common
{
    /// <summary>
    /// 全局静态帮助类
    /// </summary>
    public class GlobalHelper
    {
        /// <summary>
        /// 排班页面的工作时间
        /// </summary>
        public const int WORK_START_TIME = 1;
        /// <summary>
        /// 排班页面的工作时间
        /// </summary>
        public const int WORK_END_TIME = 7;

        /// <summary>
        /// 星期一
        /// </summary>
        public const short MonDay = 1;
        /// <summary>
        /// 星期二
        /// </summary>

        public const short TuesDay = 2;
        /// <summary>
        /// 星期三
        /// </summary>

        public const short WednesDay = 3;
        /// <summary>
        /// 星期四
        /// </summary>
        public const short ThursDay = 4;
        /// <summary>
        /// 星期五
        /// </summary>
        public const short FriDay = 5;
        /// <summary>
        /// 星期六
        /// </summary>
        public const short SaturDay = 6;
        /// <summary>
        /// 星期天
        /// </summary>
        public const short SunDay = 7;



        /// <summary>
        /// 用户登陆userid
        /// </summary>
        public const string COOKIEUSERID = "UserId";
        /// <summary>
        /// 用户角色roleid
        /// </summary>
        public const string COOKIEROLEID = "RoleId";
        /// <summary>
        /// 用户名称userName
        /// </summary>
        public const string COOKIEUSERNAME = "UserName";



        public const string UploadPath = "~/Upload/";
        public const string UploadPath2 = "/Upload/";

    }
}
